package com.liangwj.springbootdesignpatterns.structureTypePatterns.adapter.demo_1;

import com.liangwj.springbootdesignpatterns.structureTypePatterns.adapter.demo_1.impl.AudioPlayer;

public class AdapterDemoTest {
    public static void main(String[] args) {
        MediaPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3", "mp3.file");
        audioPlayer.play("vlc", "vlc.file");
        audioPlayer.play("mp4", "mp4.file");
        audioPlayer.play("qwer", "qwer.file");
    }
}
